﻿using AutoMapper;
using Demo.Entities;
using Demo.Models.Dto;

namespace Demo.Profiles
{
    public class CompanyProfiles : Profile
    {
        public CompanyProfiles()
        {
            CreateMap<Company, CompanyDto>();
            CreateMap<CompanyAddDto, Company>();
        }
    }
}